#!/usr/bin/python2
# coding: utf-8
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <http://www.gnu.org/licenses/>.

setup_args = {
    "name": "URLPassGen",
    "version": "0.1a",
    "platforms": ["linux"],
    "description": "URLPassGen generates theft-resistant and URL-dependent password",
    "long_description": "URLPassGen generates theft-resistant and URL-dependent password",
    "author": "Alexander Ovsyannikov",
    "author_email": "ovsinc at ya dot ru",
    "url": 'https://code.google.com/p/url-pass-gen/',
    "license": "GPLv2",
    "py_modules": ["cli_urlpassgen", "ui"],
    "classifiers": [
        "Development Status :: 1 - Alfa",
        "Intended Audience :: End Users/Desktop",
        "License :: GPLv2",
        "Operating System :: GNU/Linux",
        "Programming Language :: Python",
        "Topic :: Security :: Cryptography",
    ],
}


try:
    from setuptools import setup

    #setup_args["zip_safe"] = True
    setup_args["entry_points"] = {
        "console_scripts": [
            "urlpassgen = ui:main",
        ]
    }
    #setup_args["install_requires"] = ["PyQt4 >= 4.7"]
except ImportError:
    from distutils.core import setup

setup(**setup_args)
